package com.yanfan.energy.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 能源模板配置表(TemplateEnergy)实体类
 *
 * @author makejava
 * @since 2022-10-19 16:54:16
 */
public class TemplateEnergy implements Serializable {
    private static final long serialVersionUID = 174584301438370037L;
    /**
     * 主键
     */
    @ExcelProperty("编号")
    private Integer id;
    /**
     * 模板名称
     */
    @ExcelProperty("模板名称")
    private String templateName;
    /**
     * 公式
     */
    @ExcelProperty("公式")
    private String formula;
    /**
     * 能耗类型
     */
    @ExcelProperty("能耗类型")
    private Integer type;
    /**
     * 能耗名称
     */
    @ExcelProperty("能耗名称")
    private String typeName;
    /**
     * 能耗等级
     */
    @ExcelProperty("能耗等级")
    private Integer typeGrade;
    /**
     * 创建人
     */
    @ExcelProperty("创建人")
    private String createdBy;
    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;
    /**
     * 修改时间
     */
    @ExcelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedDate;
    /**
     * 设置时间
     */
    @ExcelProperty("设置时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settingDate;
    /**
     * 模板编号
     */
    @ExcelProperty("模板编号")
    private String templateNumber;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getTypeGrade() {
        return typeGrade;
    }

    public void setTypeGrade(Integer typeGrade) {
        this.typeGrade = typeGrade;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Date getSettingDate() {
        return settingDate;
    }

    public void setSettingDate(Date settingDate) {
        this.settingDate = settingDate;
    }

    public String getTemplateNumber() {
        return templateNumber;
    }

    public void setTemplateNumber(String templateNumber) {
        this.templateNumber = templateNumber;
    }
}

